* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    background: url('assets/241f95cad1c8a786e7b005937509c93d71cf5090.png') no-repeat center center fixed;
    background-size: cover; /* 深色背景作为图片加载前的底色 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.4));
}

.query-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    font-weight: normal;
    letter-spacing: 2px;
    padding: 0 10px;
}

h1::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #2196F3 20%,
        #2196F3 80%,
        transparent 100%
    );
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f8f8;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #2196F3;
    background: #fff;
}

.scan-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.scan-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.scan-btn:hover img {
    opacity: 1;
}

.query-btn {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.query-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
} 